<script setup>
import BaseApp from "~/contentScripts/views/sycm/baseApp.vue";
import Category from '~/contentScripts/views/tao/list/ItemComponents/category.vue'
import Grounding from '~/contentScripts/views/tao/list/ItemComponents/grounding.vue'
import MonthSale from '~/contentScripts/views/tao/list/ItemComponents/monthSale.vue'
import Source from '~/contentScripts/views/tao/list/ItemComponents/source.vue'
import Xcsj from '~/contentScripts/views/tao/list/ItemComponents/xcsj.vue'

const props = defineProps([
  'item', 'width',
])
</script>

<template>
  <base-app>
    <div
        class="xcsj-tao-item-bar-box" :style="{
      width: `${width}px`,
    }"
    >
      <Xcsj :item="item" />
<!--      <MonthSale :item="item" />-->
<!--      <Grounding :item="item" />-->
      <Category :item="item" />
<!--      <Source :item="item" />-->
    </div>
  </base-app>
</template>

<style lang="less">
.response-wider .m-itemlist .grid .item{
  height: auto !important;
}
.xcsj-tao-item-bar-box {
  width: 100%;
  overflow: hidden;
  //margin-bottom: 15px;
  box-sizing: border-box;
  font-size: 10px;
  height: auto;
  padding-bottom: 30px;
  .ant-btn{
    font-size: 10px;
  }
  .xcsj-bar-item {
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    //margin-bottom: 3px;
    padding: 0 7px;
    box-sizing: border-box;
    .icon-box {
      padding-right: 10px;
      //line-height: 24px;

      .icon {
        width: 14px;
        height: 14px;
        font-size: 12px;
        background: #1890ff;
        line-height: 19px;
        text-align: center;
        * {
          transform: scale(0.96);
        }
      }
    }

    .label {
      padding-right: 10px;
      font-size: 12px;
      padding-left: 0;
      //line-height: 24px;
    }
    .content{
      //line-height: 2;
      color: #1890ff;
      flex: 1;
      overflow: hidden;
      text-overflow: ellipsis;
      text-wrap: nowrap;
    }
  }
}
</style>
